package com.suncaper.han_yi_system.exception;

import lombok.Data;

@Data
public class CustomerException extends RuntimeException {

    private Integer code;

    private String message;

    public CustomerException(String message) {
        this.message = message;
    }

    public CustomerException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
